const app = {
	state: {
		role: '' || uni.getStorageSync('ROLE'),
		token: '' || uni.getStorageSync('SESSION_ID')
	},
	
	mutations: {
		SET_ROLE:(state, payload) => {
			state.role = payload
		},
		SET_TOKEN:(state, payload) =>{
			state.token = payload
		}
	},
	
	actions: {
		
	}
}

export default app